from selenium import webdriver
import time

import platform

if __name__ == '__main__':
    options = webdriver.ChromeOptions()
    options.add_argument("--start-maximized")
    options.add_argument('lang=zh_CN.UTF-8')

    if platform.system() == 'Linux':
        PATH = '/usr/bin/chromedriver'
    else:
        PATH = '/Users/luohao/app/chromedriver'
    print(PATH)

    driver = webdriver.Chrome(executable_path=PATH, chrome_options=options)


    driver.get("https://airtable.com/")
    time.sleep(10)
